package com.bean.base;

import com.bean.anno.TableExcel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Entity
@Table(name = "dict_item_info")
@TableExcel(name="dictItemInfo", content = "EasyExcel字典项",jpaBeanName="com.mapper.repository.DictItemInfoRepository")
public class DictItemInfo {

    @Id
    private String id;

    @Column(name = "dictid")
    private String dictId;

    private String label;

    private String value;

    private String description;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatetime;


}
